<sf-item-wrap [id]="id" [schema]="schema" [ui]="ui" [showError]="showError" [error]="error" [showTitle]="schema.title">
  <ng-container *ngIf="type === 'date'">
    <nz-range-picker
      [(ngModel)]="date"
      [nzMode]="mode"
      (ngModelChange)="onChange($event)"
      [nzFormat]="displayFormat"
      [nzShowTime]="displayFormat === 'yyyy-MM-dd HH:mm:ss'"
    ></nz-range-picker>
  </ng-container>
</sf-item-wrap>
